package com.zmn.plat.common.dto.product.tariff.item;

import com.zmn.plat.common.dto.product.tariff.base.BaseTariffDIO;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @author tanbiao
 * @description：后台产品查一口价故障服务项输入实体
 * @since 2019/11/22 10:02
 * @modifier
 **/
@Data
@Valid
@ToString(callSuper = true)
public class TariffProductItemPriceSplitItemDIO extends BaseTariffDIO {

    private static final long serialVersionUID = -5338177867983951052L;
    /**
     * 后台产品ID
     */
    @NotNull(message = "productId不能为空")
    @Positive(message = "productId必须为大于0的正整数")
    private Integer productId;

    /**
     * 品牌Id
     */
    @Positive(message = "brandId必须为大于0正整数")
    private Integer brandId;

    /**
     * 难度系数Id
     */
    @Positive(message = "difficultId必须为大于0正整数")
    private Integer difficultId;

}
